home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Freeware
/
Read It Later 0.9924
/
read_it_later-0.9924-fx.xpi
/
chrome
/
isreaditlater.jar
/
content
/
ISRILanywhere.js
< prev
next >
Wrap
Text File
|
2008-10-28
|
1KB
|
43 lines
var wo;
function ISRILanywhere()
{
}
ISRILanywhere.prototype = {
_init : function() {
Components.utils.import("resource://rilglobals/ISRILglobals.js");
if ( !ISRILprefs.prefB('feed') ) {
ISRILxul.bip('OnlineOff').hidden = false;
ISRILxul.bip('EditButtons').hidden = false;
} else if ( !ISRILprefs.prefB('sync') ) {
ISRILxul.bip('SyncOff').hidden = false;
ISRILxul.bip('EditButtons').hidden = false;
} else {
ISRILxul.bip('LoginInfo').hidden = false;
ISRILxul.bip('GoButtons').hidden = false;
}
},
OpenSyncOptions : function() {
window.addEventListener("unload", function() { ISRILxul.OpenOptions('sync'); }, false);
},
Go : function(p) {
p = ((p)?(p):('unread'));
ISRILprefs.setPref('online-access-prompt', !ISRILxul.bip('DontShow').checked);
ISRIL.online(p);
ISRILxul.bip('Anywhere').cancelDialog();
},
Cancel : function() {
return true;
},
}
var ISRILanywhere = new ISRILanywhere();